package cn.edu.hunau.java.week01.day05;

import org.junit.Test;

public class CallBack02Test {
    @Test
    public void testCallBack(){
        System.out.println(f(14));
    }
    public int f(int n){
        if(n==1){
            return 1;
        }
        return n*f(n-1);
    }
}
